package com.jiehoo.ooqi;
import java.io.Serializable;

/**
 * Operator for condition
 */
public enum Operator implements Serializable
{
    equal("="), notEqual("!="), like("like"), isNull("is null"),
    isNotNull("is not null"), greater(">"), greaterOrEqual(">="),
    less("<"), lessOrEqual("<="), in("in"), and("and"),
    or("or"), not("not");
    private final String value;

    Operator(String value)
    {
        this.value = value;
    }

    public String toString()
    {
        return value;
    }
}
